<%@ page language="java" contentType="text/html; charset=utf-8"	pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>消息提示 - 红高粱</title>
<%@ include file="/WEB-INF/jsp/common/res.jsp"%>
<style type="text/css">
.msg{width: 50%;height: 200px;border:5px solid #ccc;background-color: #FFFFFF;margin: 0 auto;margin-top: 50px;}
.msg p {text-align: center;padding-top:40px;}
.msg_1{padding-top:34px;padding-bottom:10px; background: url('images/info.gif') no-repeat 5px 25px;padding-left:50px;}
.msg_2{padding-top:34px;padding-bottom:10px;background: url('images/success.gif') no-repeat 5px 25px;padding-left:50px;}
</style>
</head>
<body>
<%@ include file="/WEB-INF/jsp/common/header.jsp"%>
<div class="main">
		<div class="msg">
				<p >
					<span <c:if test="${param.msgType eq 'ok'}">class="msg_2"</c:if><c:if test="${param.msgType eq 'error'}">class="msg_1"</c:if>>
						<%=java.net.URLDecoder.decode(request.getParameter("msg"),"utf-8") %>
					</span>
					<br /><br />
					<span>
						<a  class="btn" href="<%=java.net.URLDecoder.decode(request.getParameter("return"),"utf-8") %>" style="text-decoration: underline;">3秒后自动跳转,点击自动跳转</a>
					</span>
				</p>
		</div>
</div>
<script type="text/javascript">
	setTimeout(function(){
		window.location.href = decodeURIComponent("<%=request.getParameter("return")%>");
	},3000);
</script>
</body>
</html>